﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using NBA.Entity;
using NBA.DataAccess;

namespace NBA.UI.manage
{
    public partial class OddsTracking : System.Web.UI.Page
    {
        private DaCompanyInfo daCompanyInfo = new DaCompanyInfo();

        protected void Page_Load(object sender, EventArgs e)
        {

        }

        private void CompanyBind()
        {
            List<CompanyInfo> companyInfoSet = daCompanyInfo.GetAll();
            ddlCompany.DataSource = companyInfoSet;
            ddlCompany.DataValueField = "CompanyId";
            ddlCompany.DataTextField = "CompanyName";
            ddlCompany.DataBind();
        }
    }
}